home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
276-300
/
285
/
liner
/
source
/
sure.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-14
|
895b
|
37 lines
AreYouSure(ReqWindow) /*Displays an ARE YOU SURE? requester and waits*/
struct Window *ReqWindow; /*for an OK or CANCEL. (Uses AutoRequest() )*/
{
struct IntuiText Body,Positive,Negative;
Body.FrontPen=2;
Body.BackPen=1;
Body.DrawMode=JAM1;
Body.LeftEdge=8;
Body.TopEdge=8;
Body.ITextFont=NULL;
Body.IText="Are you sure?";
Body.NextText=NULL;
Positive.FrontPen=2;
Positive.BackPen=1;
Positive.DrawMode=JAM1;
Positive.LeftEdge=6;
Positive.TopEdge=3;
Positive.ITextFont=NULL;
Positive.IText="OK";
Positive.NextText=NULL;
Negative.FrontPen=2;
Negative.BackPen=1;
Negative.DrawMode=JAM1;
Negative.LeftEdge=6;
Negative.TopEdge=3;
Negative.ITextFont=NULL;
Negative.IText="Cancel";
Negative.NextText=NULL;
return(AutoRequest(ReqWindow,&Body,&Positive,&Negative,NULL,NULL,
180,60));
}